package com.centaline.androidsalesblog.model.businissobject;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 新盘GScope
 * Created by guilin on 16/2/23.
 */
public class NewEstGScopeBo implements Parcelable {

    private int GScopeId;
    private String GScopeCnName;
    private String FullPY;
    private String FirstPY;
    private int GScopeLevel;
    private int ParentId;
    private double lng;
    private double lat;

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public String getGScopeCnName() {
        return GScopeCnName;
    }

    public void setGScopeCnName(String GScopeCnName) {
        this.GScopeCnName = GScopeCnName;
    }

    public String getFullPY() {
        return FullPY;
    }

    public void setFullPY(String fullPY) {
        FullPY = fullPY;
    }

    public String getFirstPY() {
        return FirstPY;
    }

    public void setFirstPY(String firstPY) {
        FirstPY = firstPY;
    }

    public int getGScopeLevel() {
        return GScopeLevel;
    }

    public void setGScopeLevel(int GScopeLevel) {
        this.GScopeLevel = GScopeLevel;
    }

    public int getParentId() {
        return ParentId;
    }

    public void setParentId(int parentId) {
        ParentId = parentId;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public int getGScopeId() {
        return GScopeId;
    }

    public void setGScopeId(int GScopeId) {
        this.GScopeId = GScopeId;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.GScopeId);
        dest.writeString(this.GScopeCnName);
        dest.writeString(this.FullPY);
        dest.writeString(this.FirstPY);
        dest.writeInt(this.GScopeLevel);
        dest.writeInt(this.ParentId);
        dest.writeDouble(this.lng);
        dest.writeDouble(this.lat);
    }

    public NewEstGScopeBo() {
    }

    protected NewEstGScopeBo(Parcel in) {
        this.GScopeId = in.readInt();
        this.GScopeCnName = in.readString();
        this.FullPY = in.readString();
        this.FirstPY = in.readString();
        this.GScopeLevel = in.readInt();
        this.ParentId = in.readInt();
        this.lng = in.readDouble();
        this.lat = in.readDouble();
    }

    public static final Parcelable.Creator<NewEstGScopeBo> CREATOR = new Parcelable.Creator<NewEstGScopeBo>() {
        public NewEstGScopeBo createFromParcel(Parcel source) {
            return new NewEstGScopeBo(source);
        }

        public NewEstGScopeBo[] newArray(int size) {
            return new NewEstGScopeBo[size];
        }
    };
}
